package mvp.com.bbc.ui.model;

import io.reactivex.Observable;
import mvp.com.bbc.app.ApiUrls;
import mvp.com.bbc.app.BaseApplication;
import mvp.com.bbc.appContact.AppContact;
import mvp.com.bbc.bean.ArtListBean;

/**
 * Created by Administrator on 2017/10/7.
 */

public class ArtListNameModel implements AppContact.ArtListNameModel {
    @Override
    public Observable<ArtListBean> artListNameModel() {
        ApiUrls.ArtListName listName = BaseApplication.getmRetrofit().create(ApiUrls.ArtListName.class);
        Observable<ArtListBean> observable = listName.getData();
        return observable;
    }
}
